import { App } from 'vue'
import chooseIcon from './chooseIcon'
import selectArea from './selectArea'
import trend from './trend'
import Notification from "./notification"
import NotificationList from './notificationList'
import Menu from './menu'
import TreeMenu from './treeMenu'
import Progress from './progress'
import chooseTime from './chooseTime'
import chooseDate from './chooseDate'
import chooseCity from './chooseCity'
import YForm from './form'
import YTable from './table'
import YCalendar from './calendar'
import selectWithChecked from './selectWithChecked'

const components = [
    chooseIcon,
    selectArea,
    trend,
    Notification,
    NotificationList,
    Menu,
    TreeMenu,
    Progress,
    chooseTime,
    chooseDate,
    chooseCity,
    YForm,
    YTable,
    YCalendar,
    selectWithChecked
]
export default {
    install(app: App) {
        components.map(item => {
            app.use(item)
        })
    }
}
